package edu.wpi.cs509.ui.simulators;

import java.util.TimerTask;

import edu.wpi.cs509.clientlogic.UserSession;
import edu.wpi.cs509.ui.intfc.ClientLogicNotify;

public class LoginSuccessNotify extends TimerTask {

	private ClientLogicNotify ui;
	private UserSession session;
	
	public LoginSuccessNotify( ClientLogicNotify ui, UserSession session ) {
		this.ui = ui;
		this.session = session;
	}
	
	@Override
	public void run() {
		ui.notifyLoginSuccess(session);
	}

}
